package com.net.shop.car.manager.api.volley.request.oil;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;

public class OilChargeRequest extends Request {
	public String Id;
	public String number;
	public String name;
	public String vb;
	public OilChargeRequest(String Id,String number,String name,String vb) {
		super(Constants.JIFEN_TO_OILCARD);
		this.Id=Id;
		this.number=number;
		this.name=name;
		this.vb=vb;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		try {
			jsonObject.put("memberid",Id);
			jsonObject.put("card_number",number);
			jsonObject.put("holder_name",name);
			jsonObject.put("vb",vb);
			System.out.println("====================>json  "+jsonObject);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		
	}

}
